<!--
 * @Description: 文件描述
 * @Author: 1+
 * @Date: 2024-03-20 09:58:33
 * @LastEditors: 1+
 * @LastEditTime: 2024-08-28 19:23:02
-->
<template>
  <div>
    <el-collapse>
      <el-collapse-item
        :title="name"
        :name="name"
      >
        <template slot="title">
          <slot name="title" />
        </template>
        <slot />
      </el-collapse-item>
    </el-collapse>
  </div>
</template>

<script>
export default {
props:{
  name: {
    type: String,
    required: true,
    default:''
  },
}
}
</script>

<style lang="scss" scoped>
::v-deep .el-collapse{
  border: none;
}
::v-deep .el-collapse-item__header{
  border: none;
}
</style>